tax_rate = 0.075
print "What is the sub total?:"
sub_total = gets
sub_total = sub_total.to_f

if(sub_total < 0.00) then subtotal = 0.00 end

total = (1 + tax_rate) * sub_total

puts "Total = $#{total}"
